package com.dxy.lc.enums;

public enum RoomType implements IDictItem {
    PRIVATE(1,"私聊"),
    GROUP(2,"群聊")
    ;
    private int code;
    private String text;

    RoomType(int code, String text) {
        this.code = code;
        this.text = text;
    }

    @Override
    public String toCode() {
        return code+"";
    }

    @Override
    public String toText() {
        return text;
    }
}
